<script setup>
import HelloWorld from "./components/HelloWorld.vue";
// 引入组件
import MyComponent from "./components/MyComponent.vue";
</script>

<template>
  <h1>Hello VUE</h1>
  <hello-world></hello-world>
  <HelloWorld></HelloWorld>
  <p class="container">父组件 app.vue</p>
  <my-component text="第一个组件"></my-component>
  <MyComponent text="第二个组件"></MyComponent>
</template>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
